package com.torry.replay.api.request;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.time.LocalDate;

/**
 * @author torry.wang
 */
@Data

public class GetDragonInfoRequest {
    @ApiModelProperty(value = "日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JSONField(format = "yyyy-MM-dd")
    @NotNull(message = "日期不能为空")
    private LocalDate date;

    @ApiModelProperty(value = "股票名称")
    private String name;
    @ApiModelProperty(value = "席位ID")
    private Long seatId;
}
